var enumTypeUser = {"kUseGeneral" : 0,"kUserManage" : 1};
var enumTypeLoginResult = {"kLoginFaild" : 1,"kLoginSuccess" : 0};
<<<<<<< HEAD
var enumTypeMode = {"kModeT1" : 0,"kModeT2" : 1,"kModeAuto" : 2,"kModeExt" : 3};
var enumTypeDiState = {"kDiClose" : 0,"kDiOpen" : 1};
var enumTypeDoState = {"kDoClose" : 0,"kDoOpen" : 1};
var enumTypeUltrasonicSensorEnable={"kUltrasonicSensorClose" : 0,"kUltrasonicSensorOpen" : 1};
var enumTypePointCloudEnable={"kPointCloudClose" : 0,"kPointCloudOpen" : 1};
=======
var enumTypeMode = {"kModeT1" : 0,"kModeT2" : 1,"kModeAuto" : 2,"kModeExt" : 3,"kModeFleet" : 4};
var enumTypeExecuteState = {"kStateCease" : 0,"kStateRun" : 1,"kStatePuase" : 2};
var enumTypeServo = {"kServoClose" : 0,"kServoOpen" : 1};
var enumTypeDiState = {"kDiClose" : 0,"kDiOpen" : 1};
var enumTypeDoState = {"kDoClose" : 0,"kDoOpen" : 1};
var enumTypeUltrasonicSensorEnable={"kUltrasonicSensorClose" : 0,"kUltrasonicSensorOpen" : 1};

/*
    EM_MOVE_FREE_DP,                    // 普通单点
    EM_MOVE_FREE_QR,                    // 二维码点
    EM_MOVE_FREE_VMARK                  // VMark点
 */
var enumTypeInstructionDpType={"kDpTypeOp" : 0,"kDpTypeQrCode" : 1,"kDpTypeVmark" : 2};

var enumTypePointCloudEnable={"kPointCloudClose" : 0,"kPointCloudOpen" : 1};
//关机命令
var enumTypeShutDownType={"kShutDown" : 0,"kReboot" : 1};
//程序显示语言
var enumTypeProgramLanguageType={"kLanuageCh" : 0,"kLanuageEn" : 1};
//设置返回状态0失败　1成功
var enumTypeCmdResult={"kFaild" : 0,"kSuccess" : 1};
//设置默认程序返回状态
var enumTypeCmdResultDefaultProgram={"kSuccuss" : 0,"kPermissionDenied" : 1,"kRuning":2,"kWriteFaild":3};

//版本信息
var kWebModeName="WEB-HMI";
var kWebVersion="V1.0";
var kWebRelease="2018.10.27";

//浮点数值保留３位小数
var kFloatFixd3 = /^[-]?\d+\.\d{0,3}/;
var kFloatFixd2 = /^[-]?\d+\.\d{0,2}/;
var kFloatFixd1 = /^[-]?\d+\.\d{0,1}/;
var kFloatFixd0 = /^[-]?\d+/;

//新 注册状态
var enumPOLLCODE_STATUS_TYPE={
    "kENUM_TIME_NORMAL":100,         //注册成功
    "kENUM_TIME_GOING_PASSED":101,   //注册成功\n(有效时间剩余不足一周)
    "kENUM_TIME_PASSED":102,         //注册不成功,有效期已过
    "kENUM_SERIAL_UNEQUAL":103,      //注册不成功,序列号不正确
    "kENUM_REGISTER_NO_EXIST":104,   //注册不成功,注册码不存在
    "kENUM_REGISTER_FILE_NODE_ERROR":105,
    "kENUM_REGISTER_FILE_CHECK_CODE_ERROR":106,
    "kENUM_BOOT_COUNT_EXCEED":107
};
>>>>>>> dev
